let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n115,
                    i =
                    (this && this.__extends) ||
                    ((_n115 = function n(t, e) {
                            return (_n115 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n115(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.ItemInfo = void 0);
                var r = t('AbsInfo'),
                    a = t('ItemCfg'),
                    s = t('NumValue'),
                    c = (function(t) {
                        function e(e, o) {
                            void 0 === o && (o = 0);
                            var n = t.call(this, a.ItemCfg.ins.getData(e)) || this;
                            return (n._count = new s.default(o)), n;
                        }
                        return (
                            i(e, t),
                            Object.defineProperty(e.prototype, 'count', {
                                get: function get() {
                                    return this._count.value;
                                },
                                set: function set(t) {
                                    this._count.value != t &&
                                        ((this._count.value = t),
                                            this.emit(r.InfoEvent.CountChanged, this.id));
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'id', {
                                get: function get() {
                                    return this.getCfgData('id');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'name', {
                                get: function get() {
                                    return this.getCfgData('name');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'icon', {
                                get: function get() {
                                    return this.getCfgData('icon');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'type', {
                                get: function get() {
                                    return this.getCfgData('type');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'isVisible', {
                                get: function get() {
                                    return this.getCfgData('isVisible');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'kind', {
                                get: function get() {
                                    return this.getCfgData('kind');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'quality', {
                                get: function get() {
                                    return this.getCfgData('quality');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'level', {
                                get: function get() {
                                    return this.getCfgData('level');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'overlay', {
                                get: function get() {
                                    return this.getCfgData('overlay');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'use', {
                                get: function get() {
                                    return 1 == this.getCfgData('use');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'model', {
                                get: function get() {
                                    return this.getCfgData('model');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'desc', {
                                get: function get() {
                                    return this.getCfgData('desc');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            e
                        );
                    })(r.default);
                (o.ItemInfo = c), console.log("end");
            module.exports =  e.exports;